<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>工具类系统</title>
    <link th:href="@{/css/bootstrap.min.css}" rel="stylesheet">
</head>
<body>
    <div class="container mt-5">
        <div class="text-center mb-5">
            <h1 class="display-4">工具类系统</h1>
            <p class="lead">提供各种实用工具功能</p>
        </div>
        
        <div class="row justify-content-center">
            <div class="col-md-8">
                <div class="card mb-4">
                    <div class="card-header">
                        <h5 class="mb-0">可用工具</h5>
                    </div>
                    <div class="card-body">
                        <div class="list-group">
                            <a th:href="@{/csv-to-sql}" class="list-group-item list-group-item-action d-flex justify-content-between align-items-center">
                                <div>
                                    <h5 class="mb-1">CSV转SQL工具</h5>
                                    <p class="mb-0 text-muted">解析配置参数CSV文件，生成DDL和DML语句</p>
                                </div>
                                <span class="badge bg-primary rounded-pill">使用</span>
                            </a>
                            <a th:href="@{/cola-generator}" class="list-group-item list-group-item-action d-flex justify-content-between align-items-center">
                                <div>
                                    <h5 class="mb-1">COLA架构代码生成器</h5>
                                    <p class="mb-0 text-muted">根据数据表DDL生成基于COLA架构的Java代码</p>
                                </div>
                                <span class="badge bg-success rounded-pill">使用</span>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <script th:src="@{/js/bootstrap.bundle.min.js}"></script>
</body>
</html> 